package de.QuizCommunity.util;

import java.util.ArrayList;
import java.util.List;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapView;

import de.QuizCommunity.domain.Benutzer;

import android.app.Application;
import android.graphics.Canvas;

public class AppVariabels {
	
	public static Benutzer user;

	private static AppVariabels instance;
	public static ArrayList<de.QuizCommunity.domain.Frage> lstFrage = new ArrayList<de.QuizCommunity.domain.Frage>();
	
	private AppVariabels() {
	}

	public static synchronized AppVariabels getInstance() {
		if (instance == null) {
			instance = new AppVariabels();
		}
		return instance;
	}

	private ArrayList<GeoPoint> locationPoints = new ArrayList<GeoPoint>();

	private int latitudeE6;

	private int longitudeE6;
	
	private String aktuellerStandort;

	public List<GeoPoint> getLocationPoints() {
		return locationPoints;
	}

	public void setLocationPoints(GeoPoint g) {
		locationPoints.add(g);
	}

	public int getLatitudeE6() {
		return latitudeE6;
	}

	public void setLatitudeE6(int latitudeE6) {
		this.latitudeE6 = latitudeE6;
	}

	public int getLongitudeE6() {
		return longitudeE6;
	}

	public void setLongitudeE6(int longitudeE6) {
		this.longitudeE6 = longitudeE6;
	}

	public String getAktuellerStandort() {
		return aktuellerStandort;
	}

	public void setAktuellerStandort(String aktuellerStandort) {
		this.aktuellerStandort = aktuellerStandort;
	}
}
